package com.example.springbootdemo;

public class ThreadNameDemo {
    public static void main(String[] args) {
        new Thread(new Runnable() {
            @Override
            public void run() {
                System.out.println(Thread.currentThread().getName() + ",>我是子线程<");
            }
        }, "订单线程：").start();
    }
}
